package edu.ptu.shortlink.admin.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import edu.ptu.shortlink.admin.common.database.BaseDO;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;

/**
 * @BelongsProject: shortlink
 * @BelongsPackage: edu.ptu.shortlink.admin.dao.entity
 * @Author: HYJ
 * @CreateTime: 2025-04-25  16:50
 * @Description: 短链接分组实体
 * @Version: 1.0
 */
@Data
@TableName("t_group")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GroupDO extends BaseDO implements Serializable {
    @Serial
    private static final long serialVersionUID = -7800786577449937997L;
    /**
     * ID
     */
    private Long id;

    /**
     * 分组标识
     */
    private String gid;

    /**
     * 分组名称
     */
    private String name;

    /**
     * 创建分组用户名
     */
    private String username;

    /**
     * 分组排序
     */
    private Integer sortOrder;

}
